<template>
  <div class="bgcolor">
    <Nav ref="nav"></Nav>
    <keep-alive include="portal">
      <router-view></router-view>
    </keep-alive>
  </div>
</template>

<script>
import Nav from "@/components/nav";

export default {
  components: { Nav },
  data() {
    return {
      userInfo: localStorage.getItem("userInfo"),
    };
  },
};
</script>
<style scoped>
.bgcolor {
  background-color: #f5f5f5;
}
</style>